Skip to content

Instantly share code, notes, and snippets.

@GravenilvecTV
GravenilvecTV / main.py
Created November 24, 2018 19:19
APPRENDRE LE PYTHON #2 ? LES VARIABLES
# recolter une valeur porte monnaie
wallet = int(input("Entrer le nombre d'€ que vous possedez"))
print("Vous avez actuellement", wallet, "euros")
# creer un produit qui aura pour valeur 50
produit = 50
print("Le Produit vaut ", produit, "euros")
# enleve au "wallet" le prix du produit
@Abd2023
Abd2023 / antigravity-login-fix.md
Last active March 26, 2026 11:15
Fix for Antigravity App Login Crash (TypeError: Do not know how to serialize a BigInt)

Fix: Antigravity App Login Crash (BigInt Serialization Error)

The Problem

When attempting to sign in to the Antigravity desktop app via Google OAuth, the app fails to open the browser for authentication. No visible error is shown in the user interface, but the login process silently stalls.

Diagnosing the Issue

To understand what is happening behind the scenes, you can run the application with Node's inspector attached.

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
<title>MGS-Style Special Item HUD</title>
<style>
:root {
--ref-w: 1920;
--ref-h: 1080;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>MGS-Style Special Item HUD</title>
<style>
:root {
--ref-w: 1920;
--ref-h: 1080;
@Kavan72
Kavan72 / postman_installation.md
Created March 17, 2025 07:39 — forked from Akhil-Suresh/postman_installation.md
Installing Postman on Ubuntu/Debian

Installing Postman

Step 1

If any version of postman is installed we need to remove it

sudo rm -rf /opt/Postman

Step 2

@kaangiray26
kaangiray26 / debug.json
Created November 4, 2025 10:36
Zed Debugger Configuration for Python
// Project-local debug tasks
//
// For more documentation on how to configure debug tasks,
// see: https://zed.dev/docs/debugger
[
{
"label": "Python Debugger",
"adapter": "Debugpy",
"request": "attach",
"tcp_connection": {
@0xfauzi
0xfauzi / agents-md-best-practices.md
Created October 17, 2025 11:08
Agents.md best practices

AGENTS.md Best Practices for AI Coding Assistants: Comprehensive Guide

AGENTS.md has emerged as the de facto open standard for guiding AI coding assistants, now adopted by over 20,000 repositories and formalized in August 2025 through collaboration between OpenAI, Google, Cursor, Factory, and Sourcegraph. This file acts as a "README for machines"—providing structured, technical context that helps AI assistants write better code from the start. For Python + AWS + Terraform projects, a well-crafted AGENTS.md dramatically reduces friction, ensuring generated code follows your conventions, uses the right tools, and adheres to security requirements.

What is AGENTS.md and why it matters

AGENTS.md is a dedicated Markdown file that complements, not replaces, README.md. While README targets human developers with project overviews and quick-start guides, AGENTS.md contains detailed technical instructions specifically for AI coding agents. Think of it as onboarding documentation for an AI team member: ex

@jph00
jph00 / smol-training.md
Created October 31, 2025 07:29
smol training playbook
#!/usr/bin/env python3
"""
Scan all GitHub Actions jobs in the arthur-ai org that ran between
0800-1244 UTC today and identify any that installed litellm 1.82.7 or 1.82.8.
"""
import io
import os
import re
import sys